package com.cxt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cxt.entity.AccountInfo;
import com.cxt.entity.BillInfo;
import com.cxt.entity.DriverInfo;

import java.math.BigDecimal;
import java.util.List;

public interface IAccountInfoService extends IService<AccountInfo> {
    Boolean up(Long accountId, BigDecimal paymentAmount, int i, String msg);

    void addAccountInfo(Long userId);

    boolean updateAccountIfo(AccountInfo accountInfo);

    AccountInfo getAccountInfo();

    boolean withdraw(Double deduction);

    List<BillInfo> getBillInfo();
}
